import request from '../utils/request'

// 修改用户信息接口
export const updateUserInfo = (data: {
  clientId: number
  name?: string
  sex?: number
  age?: number
  email?: string
  password?: string
}) => {
  return request({
    url: '/user/update',
    method: 'put',
    params:data
  })
} 